package structures;
import java.util.ArrayList;
import java.util.List;

import pack.MyReader;

public class CardEventData extends ElementaryFile{

	public List<CardEventRecord> cardEventRecords = new ArrayList<CardEventRecord>();
	
	public CardEventData(MyReader reader, int noOfEventRecords, int length)
	{
		int j = length / CardEventRecord.size;
		CardEventRecord r;
		for(int i = 0 ; i < j ; i++){
			r = new CardEventRecord(reader);
			if(!r.empty){
				cardEventRecords.add(r);
			}
		}
	}
}
